/*********Test Class created to cover DataFormatter Class*/
@isTest
private class TestDataFormatter {
    static testMethod void testPhoneFormatter() {
    	DataFormatter testformatter = new DataFormatter();
    	
    	/*Testing*/
    	test.startTest();
    	String testPhone = testformatter.phoneFormatter('(234)-234-6789');
    	String testPhone2 = testformatter.phoneFormatter('345 5666 6666'); 
    	test.stopTest();
		
		/*Asserting correctness*/
		System.assert(testPhone.contains('(234) 234-6789'));
		System.assert(testPhone2.contains('Failed'));
    	
    }
}